﻿<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang=zh-cmn-Hans>
  <head>
  	<meta charset="UTF-8">
	<title>欢迎登录智慧工地管理平台</title>
	<link rel="stylesheet" href="<%=path%>/resources/css/style.css" />
	<script src="<%=path%>/resources/jquery/jquery-3.2.1.min.js"></script>
	<script src="<%=path%>/resources/js/cloud.js" type="text/javascript"></script>
	<script>
		var basepath = '<%=basePath%>';
		$(function() {
			$('.loginbox').css({
				'position' : 'absolute',
				'left' : ($(window).width() - 692) / 2
			});
			$(window).resize(function() {
				$('.loginbox').css({
					'position' : 'absolute',
					'left' : ($(window).width() - 692) / 2
				});
			});
		});
		
		document.onkeydown = function(e){
			if(e.keyCode == 13){
				if($(document.activeElement).attr("class") != ".loginbtn"){
					$(".loginbtn").click();
				}
			}
		}
	</script>
	
	
</head>

<body style="background-color: #1c77ac; background-image: url(../resources/images/icon/login/light.png); background-repeat: no-repeat; background-position: center top;min-width:600px;min-height:500px;">

	<div id="mainBody">
		<div class="cloud" id="cloud1" ></div>
		<div class="cloud" id="cloud2" ></div>
	</div>


	<div class="logintop">
		<span>欢迎登录智慧工地管理平台</span>
	</div>
	

	<div class="loginbody">
		<span class="systemlogo"></span>
		<div class="loginbox">
			<ul>
				<li><input class="loginuser" name="" type="text" value="" /></li>
				<li><input class="loginpwd" name="" type="password"  value="" /></li>
				<li><input class="loginbtn" name="" type="button"  value="登 录" onkeyup=""/>
					<%--<label class="login-forgetPasword"><a href="JavaScript:void(0);">忘记密码</a></label>--%>
				</li>
				<li class="loginmsg"></li>
			</ul>
		</div>
	</div>
	
	
	<div class="loginbm">©CopyRight 2017-2046 <a href="http://www.kaipengai.com/"><strong>上海楷芃智能科技有限公司</strong></a></div>
	
	<script src="<%=path%>/resources/js/login.js"></script>
</body>

</html>
